:root {
  --ink: #f7f2fb;
  --muted: #c8bfd3;
  --line: rgba(255, 255, 255, 0.13);
  --panel: #181320;
  --soft: #241c2f;
  --violet: #8b0f86;
  --violet-2: #b218a8;
  --cyan: #10b7df;
  --green: #28a56f;
  --amber: #e0a11a;
  --coral: #dd5d4f;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: #0b0910;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.light-mode {
  --ink: #171421;
  --muted: #5e586b;
  --line: #e8e5ef;
  --panel: #ffffff;
  --soft: #f6f3f8;
  color: var(--ink);
  background: #fbfafc;
}

#chain-constellation {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.74;
  mix-blend-mode: screen;
}

body.light-mode #chain-constellation {
  opacity: 0.32;
  mix-blend-mode: multiply;
}

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto auto auto;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
  padding: 14px clamp(18px, 3vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 9, 16, 0.82);
  backdrop-filter: blur(18px);
  animation: headerDrop 700ms var(--ease) both;
}

body.light-mode .site-header {
  border-bottom-color: rgba(232, 229, 239, 0.86);
  background: rgba(255, 255, 255, 0.9);
}

.brand img {
  display: block;
  width: min(240px, 34vw);
  height: 60px;
  object-fit: contain;
  object-position: left center;
}

body.light-mode .brand {
  display: inline-grid;
  place-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: #171421;
  box-shadow: 0 14px 34px rgba(33, 23, 43, 0.14);
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 6px;
  max-width: 100%;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #c9c1d4;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body.light-mode .nav-links {
  border-color: #e8e5ef;
  background: #f6f3f8;
}

body.light-mode .nav-links a {
  color: #3e3b4c;
}

body.light-mode .nav-links a:hover {
  color: var(--violet);
  background: #fff;
}

.header-cta,
.header-scanner-cta,
.header-node-cta,
.header-demo-cta,
.primary-action,
.secondary-action,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.header-cta,
.header-scanner-cta,
.header-node-cta,
.header-demo-cta,
.primary-action {
  color: #fff;
  background: var(--violet);
  box-shadow: 0 12px 34px rgba(139, 15, 134, 0.25);
}

.header-scanner-cta,
.header-node-cta,
.scanner-action {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 183, 223, 0.38);
  background:
    linear-gradient(135deg, rgba(16, 183, 223, 0.95), rgba(139, 15, 134, 0.98)),
    var(--violet);
  cursor: pointer;
}

.header-node-cta,
.node-action {
  border: 1px solid rgba(40, 165, 111, 0.4);
  background:
    linear-gradient(135deg, rgba(40, 165, 111, 0.96), rgba(16, 183, 223, 0.88)),
    var(--green);
  cursor: pointer;
}

.node-action {
  border: 0;
}

.scanner-action {
  border: 0;
}

.header-scanner-cta::after,
.header-node-cta::after,
.node-action::after,
.scanner-action::after {
  content: "";
  position: absolute;
  inset: -80% -40%;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.28) 50%, transparent 58%);
  transform: translateX(-48%);
  animation: ctaSweep 4.5s ease-in-out infinite;
}

.header-scanner-cta span,
.header-scanner-cta svg,
.header-node-cta span,
.header-node-cta svg,
.node-action span,
.node-action svg,
.scanner-action span,
.scanner-action svg {
  position: relative;
  z-index: 1;
}

.header-demo-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 183, 223, 0.96), rgba(139, 15, 134, 0.98)),
    #8b0f86;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.header-demo-cta::after {
  content: "";
  position: absolute;
  inset: -80% -40%;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.32) 50%, transparent 58%);
  transform: translateX(-48%);
  animation: ctaSweep 4.8s ease-in-out infinite;
}

.header-demo-cta span,
.header-demo-cta svg {
  position: relative;
  z-index: 1;
}

.secondary-action,
.theme-toggle {
  color: #f7f2fb;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

body.light-mode .secondary-action,
body.light-mode .theme-toggle {
  color: #171421;
  border-color: #e3dfea;
  background: #fff;
}

.header-cta svg,
.header-scanner-cta svg,
.header-node-cta svg,
.header-demo-cta svg,
.primary-action svg,
.secondary-action svg,
.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  min-height: min(840px, calc(100vh - 72px));
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 18% 28%, rgba(139, 15, 134, 0.2), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(16, 183, 223, 0.16), transparent 26%),
    linear-gradient(135deg, #0b0910 0%, #14101d 54%, #100c18 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(11, 9, 16, 0), #0b0910);
  pointer-events: none;
}

body.light-mode .hero {
  background:
    radial-gradient(circle at 18% 28%, rgba(139, 15, 134, 0.09), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(16, 183, 223, 0.1), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #fbf7fd 54%, #f8fbff 100%);
}

body.light-mode .hero::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fbfafc);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.86fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #e349d9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.light-mode .eyebrow {
  color: var(--violet);
}

h1,
h2,
h3,
h4,
p,
span,
strong {
  overflow-wrap: break-word;
}

.hero h1,
.section h2,
.visual-copy h2,
.sales-room h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.03;
  font-weight: 850;
}

.hero-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: #c9c1d4;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

body.light-mode .hero-lede {
  color: #555066;
}

.hero-copy > * {
  animation: revealUp 800ms var(--ease) both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 90ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 170ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 250ms;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 330ms;
}

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

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 34px;
}

.hero-proof-grid div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

body.light-mode .hero-proof-grid div {
  border-color: rgba(139, 15, 134, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.hero-proof-grid strong {
  display: block;
  color: #25d1f1;
  font-size: 30px;
  line-height: 1;
}

body.light-mode .hero-proof-grid strong {
  color: var(--violet);
}

.hero-proof-grid span {
  display: block;
  margin-top: 6px;
  color: #c9c1d4;
  font-size: 13px;
  font-weight: 800;
}

body.light-mode .hero-proof-grid span {
  color: #4d4858;
}

.hero-cockpit,
.module-board,
.calculator,
.architecture-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(24, 19, 32, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body.light-mode .hero-cockpit,
body.light-mode .module-board,
body.light-mode .calculator,
body.light-mode .architecture-panel {
  color: #171421;
  border-color: #e8e5ef;
  background: rgba(255, 255, 255, 0.92);
}

.hero-cockpit {
  min-width: 0;
  padding: 18px;
  animation: floatInRight 900ms var(--ease) 180ms both, cockpitFloat 8s ease-in-out 1.2s infinite;
}

.cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  color: #fff;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(139, 15, 134, 0.94), rgba(25, 20, 33, 0.96)),
    var(--ink);
}

.cockpit-header span {
  display: block;
  color: #efc9eb;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cockpit-header strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.cockpit-header svg {
  width: 34px;
  height: 34px;
  color: var(--cyan);
}

.chain-ledger {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
  margin-top: 12px;
}

.ledger-card {
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

body.light-mode .ledger-card {
  border-color: #e8e5ef;
  background: #fff;
}

.ledger-card.verified {
  grid-row: span 2;
  min-height: 296px;
  background:
    linear-gradient(135deg, rgba(16, 183, 223, 0.15), transparent 48%),
    rgba(255, 255, 255, 0.06);
}

.ledger-card span,
.ledger-card small {
  display: block;
  color: #b9b0c5;
  font-size: 13px;
  font-weight: 800;
}

body.light-mode .ledger-card span,
body.light-mode .ledger-card small {
  color: #5f6172;
}

.ledger-card strong {
  display: block;
  margin: 16px 0;
  color: #f8f3fb;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

body.light-mode .ledger-card strong {
  color: #171421;
}

.chain-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.chain-flow div {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 8px;
  color: #f7f2fb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

body.light-mode .chain-flow div {
  color: #3a3547;
  border-color: #e8e5ef;
  background: #fbfafc;
}

.chain-flow svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.block-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #08060d;
}

body.light-mode .block-stack {
  background: #171421;
}

.block-stack span {
  display: block;
  width: var(--w);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--amber));
  animation: blockPulse 2.8s ease-in-out infinite alternate;
}

.block-stack span:nth-child(2) {
  animation-delay: 200ms;
}

.block-stack span:nth-child(3) {
  animation-delay: 400ms;
}

.block-stack span:nth-child(4) {
  animation-delay: 600ms;
}

.cockpit-alert {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 12px;
  padding: 16px;
  color: #fff;
  border-radius: 8px;
  background: #171421;
}

.cockpit-alert svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

.cockpit-alert p {
  margin: 0;
  color: #eee8f1;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.metric-band {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 36px));
  margin: -38px auto 0;
  color: #fff;
  border-radius: 8px;
  background: #08060d;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metric-band div {
  display: grid;
  gap: 4px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

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

.metric-band strong {
  font-size: 32px;
}

.metric-band span {
  color: #d9d3df;
  font-size: 14px;
  line-height: 1.45;
}

.section,
.visual-section,
.sales-room {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section-heading {
  position: relative;
  max-width: 830px;
  margin-bottom: 34px;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 86px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transform-origin: left;
  animation: growWidth 800ms var(--ease) both;
}

.section-heading.narrow {
  max-width: 760px;
}

.section h2,
.visual-copy h2,
.sales-room h2 {
  max-width: 790px;
  font-size: clamp(30px, 3.25vw, 46px);
  line-height: 1.1;
  font-weight: 850;
}

.intro-copy > p,
.visual-copy p:not(.eyebrow),
.sales-room p {
  margin: 0;
  color: #c9c1d4;
  font-size: 18px;
  line-height: 1.7;
}

body.light-mode .intro-copy > p,
body.light-mode .visual-copy p:not(.eyebrow),
body.light-mode .sales-room p {
  color: #555066;
}

.value-grid,
.system-grid,
.industry-grid,
.timeline {
  display: grid;
  gap: 16px;
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.system-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.timeline {
  grid-template-columns: repeat(4, 1fr);
}

.value-grid div,
.system-grid article,
.industry-grid article,
.timeline div {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(24, 19, 32, 0.88);
  overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.system-grid article {
  color: #fff;
  background: #171421;
  animation: liftIn 720ms var(--ease) both;
}

.value-grid div:hover,
.system-grid article:hover,
.industry-grid article:hover,
.timeline div:hover,
.module-board:hover,
.calculator:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 183, 223, 0.36);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

body.light-mode .value-grid div,
body.light-mode .system-grid article,
body.light-mode .industry-grid article,
body.light-mode .timeline div {
  color: #171421;
  border-color: #e8e5ef;
  background: rgba(255, 255, 255, 0.94);
}

.value-grid div::after,
.system-grid article::after,
.industry-grid article::after,
.timeline div::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -64px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(16, 183, 223, 0.34);
  border-radius: 50%;
}

.value-grid svg,
.system-grid svg,
.industry-grid svg {
  width: 26px;
  height: 26px;
  color: var(--cyan);
}

h3 {
  margin: 14px 0 8px;
  font-size: 19px;
  letter-spacing: 0;
}

.value-grid p,
.system-grid p,
.industry-grid span,
.timeline p {
  margin: 0;
  color: #c9c1d4;
  line-height: 1.6;
}

body.light-mode .value-grid p,
body.light-mode .system-grid p,
body.light-mode .industry-grid span,
body.light-mode .timeline p {
  color: #5f6172;
}

.industry-grid strong {
  display: block;
  margin: 16px 0 10px;
  font-size: 19px;
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: 70px 0 104px;
}

.tech-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.tech-photo {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 126px;
  overflow: hidden;
  padding: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(11, 9, 16, 0.04), rgba(11, 9, 16, 0.76)),
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.3), transparent 18%),
    linear-gradient(135deg, rgba(139, 15, 134, 0.82), rgba(16, 183, 223, 0.38)),
    #15111d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  animation: revealUp 700ms var(--ease) both;
}

.audit-photo {
  background:
    linear-gradient(180deg, rgba(11, 9, 16, 0.02), rgba(11, 9, 16, 0.76)),
    radial-gradient(circle at 32% 22%, rgba(224, 161, 26, 0.38), transparent 18%),
    linear-gradient(135deg, rgba(224, 161, 26, 0.72), rgba(139, 15, 134, 0.5)),
    #15111d;
}

.wallet-photo {
  background:
    linear-gradient(180deg, rgba(11, 9, 16, 0.02), rgba(11, 9, 16, 0.76)),
    radial-gradient(circle at 70% 30%, rgba(40, 165, 111, 0.42), transparent 20%),
    linear-gradient(135deg, rgba(16, 183, 223, 0.5), rgba(11, 9, 16, 0.88)),
    #15111d;
}

.tech-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.13) 43% 44%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  opacity: 0.76;
}

.tech-photo::after {
  content: "";
  position: absolute;
  inset: -60% -120%;
  background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, 0.28) 50%, transparent 58%);
  transform: translateX(-35%);
  animation: luxurySweep 5.5s ease-in-out infinite;
}

.tech-photo svg,
.tech-photo span {
  position: relative;
  z-index: 1;
}

.tech-photo svg {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
}

.tech-photo span {
  font-size: 13px;
  font-weight: 900;
}

.architecture-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(16, 183, 223, 0.22), transparent 24%),
    linear-gradient(90deg, rgba(139, 15, 134, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(16, 183, 223, 0.1) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.node-orbit {
  position: absolute;
  width: min(420px, 80vw);
  height: min(420px, 80vw);
  border: 1px solid rgba(16, 183, 223, 0.28);
  border-radius: 50%;
  animation: orbitSpin 18s linear infinite;
}

.node-orbit::before,
.node-orbit::after {
  content: "";
  position: absolute;
  inset: 58px;
  border: 1px solid rgba(139, 15, 134, 0.28);
  border-radius: 50%;
}

.node-orbit::after {
  inset: 118px;
}

.node-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: -29px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  transform: rotate(calc(var(--i) * 72deg)) translateX(210px) rotate(calc(var(--i) * -72deg));
}

.node-orbit svg {
  width: 23px;
  height: 23px;
}

.central-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  padding: 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.28), transparent 20%),
    linear-gradient(135deg, #171421, var(--violet));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.central-node svg {
  width: 36px;
  height: 36px;
  color: var(--cyan);
}

.central-node strong,
.central-node span {
  display: block;
}

.central-node strong {
  margin-top: 10px;
  font-size: 18px;
}

.central-node span {
  color: #ded6e8;
  font-size: 12px;
  font-weight: 800;
}

.architecture-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(310px, calc(100% - 36px));
  padding: 18px;
}

.architecture-panel span,
.architecture-panel p {
  color: #c9c1d4;
}

body.light-mode .architecture-panel span,
body.light-mode .architecture-panel p {
  color: #5f6172;
}

.architecture-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 42px;
}

body.light-mode .architecture-panel strong {
  color: var(--violet);
}

.architecture-panel p {
  margin: 8px 0 0;
  line-height: 1.5;
}

.module-board {
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
}

.module-rail {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

body.light-mode .module-rail {
  border-right-color: #e8e5ef;
  background: #f7f5f9;
}

.rail-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px 16px;
  color: #f8f3fb;
  font-size: 13px;
  font-weight: 850;
}

body.light-mode .rail-title {
  color: #171421;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(40, 165, 111, 0.14);
}

.module-button {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 7px;
  padding: 11px 10px;
  color: #f3edf7;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

body.light-mode .module-button {
  color: #383344;
}

.module-button:hover,
.module-button.active {
  background: rgba(255, 255, 255, 0.07);
}

.module-button.active {
  color: #ffb8f6;
  border-color: rgba(255, 255, 255, 0.12);
}

body.light-mode .module-button:hover,
body.light-mode .module-button.active {
  color: var(--violet);
  border-color: #e8e5ef;
  background: #fff;
}

.module-button svg {
  width: 18px;
  height: 18px;
}

.module-button span {
  min-width: 0;
  font-size: 14px;
  font-weight: 850;
}

.module-stage {
  padding: 26px;
  background: #100d17;
}

body.light-mode .module-stage {
  background: #fff;
}

.app-label,
.module-subtitle,
.module-summary span,
.contract-flow span {
  color: #b9b0c5;
}

body.light-mode .app-label,
body.light-mode .module-subtitle,
body.light-mode .module-summary span,
body.light-mode .contract-flow span {
  color: #5f6172;
}

.app-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.module-stage h3 {
  margin: 0;
  color: #f8f3fb;
  font-size: clamp(28px, 3vw, 42px);
}

body.light-mode .module-stage h3 {
  color: #171421;
}

.module-subtitle {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.6;
}

.module-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.module-summary article {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

body.light-mode .module-summary article {
  border-color: #e8e5ef;
  background: #fbfafc;
}

.module-summary strong {
  display: block;
  margin-top: 12px;
  color: var(--cyan);
  font-size: 38px;
}

body.light-mode .module-summary strong {
  color: var(--violet);
}

.contract-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.contract-flow div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

body.light-mode .contract-flow div {
  border-color: #e8e5ef;
  background: #fff;
}

.contract-flow strong {
  display: block;
  margin-top: 8px;
  color: #f8f3fb;
}

body.light-mode .contract-flow strong {
  color: #171421;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 16px;
  padding: 18px;
}

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.calc-inputs label {
  display: grid;
  gap: 14px;
  min-height: 156px;
  padding: 18px;
  color: #f8f3fb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 850;
}

body.light-mode .calc-inputs label {
  color: #171421;
  border-color: #e8e5ef;
  background: #fff;
}

.calc-inputs input {
  width: 100%;
  accent-color: var(--cyan);
}

.calc-inputs strong {
  color: var(--cyan);
  font-size: 28px;
}

body.light-mode .calc-inputs strong {
  color: var(--violet);
}

.calc-output {
  display: grid;
  align-content: center;
  min-height: 320px;
  padding: 28px;
  color: #fff;
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 18%, rgba(16, 183, 223, 0.32), transparent 24%),
    linear-gradient(135deg, #171421, #08060d);
}

.calc-output > span {
  color: #c9c1d4;
  font-weight: 850;
}

.calc-output > strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
}

.calc-output p {
  color: #d9d3df;
  line-height: 1.5;
}

.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.calc-breakdown div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.calc-breakdown span,
.calc-breakdown strong {
  display: block;
}

.calc-breakdown span {
  color: #c9c1d4;
  font-size: 12px;
  font-weight: 850;
}

.calc-breakdown strong {
  margin-top: 8px;
  font-size: 20px;
}

.timeline div {
  min-height: 250px;
}

.timeline span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
}

body.light-mode .timeline span {
  color: var(--violet);
}

.sales-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 86px;
  padding: 34px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 12%, rgba(16, 183, 223, 0.2), transparent 22%),
    linear-gradient(135deg, var(--violet), #171421 72%);
  box-shadow: var(--shadow);
}

.sales-room h2 {
  color: #fff;
}

.sales-room p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.sales-room .primary-action {
  color: #171421;
  background: #fff;
  box-shadow: none;
}

.scanner-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.scanner-modal.active {
  display: flex;
}

.scanner-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 7, 0.72);
  backdrop-filter: blur(18px);
}

.scanner-window {
  position: relative;
  width: min(1180px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  overflow: auto;
  scrollbar-color: rgba(16, 183, 223, 0.72) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 20%, rgba(139, 15, 134, 0.34), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(16, 183, 223, 0.2), transparent 24%),
    #0b0910;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.58);
  animation: scannerEnter 420ms var(--ease) both;
}

.scanner-window::-webkit-scrollbar,
.transaction-list::-webkit-scrollbar,
.node-events::-webkit-scrollbar {
  width: 10px;
}

.scanner-window::-webkit-scrollbar-track,
.transaction-list::-webkit-scrollbar-track,
.node-events::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.scanner-window::-webkit-scrollbar-thumb,
.transaction-list::-webkit-scrollbar-thumb,
.node-events::-webkit-scrollbar-thumb {
  border: 2px solid rgba(11, 9, 16, 0.9);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
}

.scanner-window::-webkit-scrollbar-corner {
  background: transparent;
}

.scanner-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 9, 16, 0.82);
  backdrop-filter: blur(18px);
}

.scanner-topbar h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.scanner-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.scanner-close svg {
  width: 20px;
  height: 20px;
}

.scanner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
  padding: 18px;
}

.scanner-main,
.scanner-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.scanner-status,
.transaction-board,
.fee-panel,
.block-inspector,
.scanner-log {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.scanner-status {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.scanner-status div {
  min-height: 104px;
  padding: 18px;
  background: #14101d;
}

.scanner-status span,
.fee-grid span,
.board-heading span,
.block-inspector dt {
  color: #bdb3ca;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.scanner-status strong,
.fee-grid strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
}

.chain-scene {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(16, 183, 223, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 183, 223, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    #08060d;
  background-size: auto, 42px 42px, 42px 42px;
}

.chain-track {
  position: absolute;
  inset: 0;
}

.demo-block {
  position: absolute;
  top: calc(50% - 50px);
  left: calc(var(--x) * 1%);
  display: grid;
  align-content: center;
  width: 128px;
  min-height: 100px;
  padding: 14px;
  border: 1px solid rgba(16, 183, 223, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 183, 223, 0.16), rgba(139, 15, 134, 0.18)),
    #171421;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3), 0 0 26px rgba(16, 183, 223, 0.12);
  animation: blockFloat 4.5s ease-in-out infinite;
}

.demo-block::before,
.demo-block::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, rgba(16, 183, 223, 0.1), rgba(16, 183, 223, 0.72));
}

.demo-block::before {
  right: 100%;
}

.demo-block::after {
  left: 100%;
}

.demo-block span,
.demo-block small {
  display: block;
}

.demo-block span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
}

.demo-block strong {
  margin-top: 8px;
  font-size: 20px;
}

.demo-block small {
  margin-top: 8px;
  color: #cfc7da;
  font-size: 11px;
  font-weight: 800;
}

.demo-block.mined {
  border-color: rgba(40, 165, 111, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3), 0 0 30px rgba(40, 165, 111, 0.22);
}

.scan-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12%;
  width: 14%;
  background: linear-gradient(90deg, transparent, rgba(16, 183, 223, 0.2), transparent);
  animation: scanBeam 3.2s ease-in-out infinite;
}

.transaction-board,
.fee-panel,
.block-inspector,
.scanner-log {
  padding: 18px;
}

.board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.board-heading strong {
  font-size: 16px;
}

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

.tx-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  animation: txEnter 320ms var(--ease) both;
}

.tx-row strong,
.tx-row span,
.tx-row em {
  display: block;
}

.tx-row strong {
  font-size: 13px;
}

.tx-row span {
  margin-top: 3px;
  color: #bdb3ca;
  font-size: 11px;
  font-weight: 780;
}

.tx-row em {
  color: var(--cyan);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.tx-pill {
  min-width: 78px;
  padding: 8px 10px;
  color: #171421;
  border-radius: 999px;
  background: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.fee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.fee-grid div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.fee-grid strong {
  color: var(--cyan);
  font-size: 24px;
}

.gas-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 128px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #08060d;
}

.gas-bars i {
  flex: 1;
  height: var(--h);
  min-height: 14px;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  transition: height 360ms var(--ease);
}

.block-inspector dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.block-inspector div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.block-inspector div:last-child {
  border-bottom: 0;
}

.block-inspector dd {
  margin: 0;
  color: #fff;
  font-weight: 900;
  text-align: right;
}

.scanner-log p {
  margin: 0;
  color: #ded6e8;
  line-height: 1.55;
}

.node-window {
  width: min(1220px, 100%);
}

.node-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.68fr);
  gap: 16px;
  padding: 18px;
}

.node-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

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

.node-status-grid article,
.validation-console,
.node-network,
.reward-panel,
.node-ledger {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.node-status-grid article {
  min-height: 142px;
  padding: 18px;
  overflow: hidden;
  position: relative;
}

.node-status-grid article::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -52px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(40, 165, 111, 0.36);
  border-radius: 50%;
}

.node-status-grid span,
.node-status-grid small,
.reward-panel dt {
  display: block;
  color: #bdb3ca;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.node-status-grid strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(21px, 1.9vw, 28px);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

.node-status-grid small {
  margin-top: 10px;
  line-height: 1.35;
  text-transform: none;
}

.validation-console,
.node-network,
.reward-panel,
.node-ledger {
  padding: 18px;
}

.validation-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.validation-search input {
  min-height: 48px;
  min-width: 0;
  padding: 0 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 850;
}

.validation-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 16px;
  color: #171421;
  border: 0;
  border-radius: 8px;
  background: var(--cyan);
  font-weight: 950;
  cursor: pointer;
}

.validation-search svg {
  width: 18px;
  height: 18px;
}

.validation-result {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 18px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 50%, rgba(40, 165, 111, 0.22), transparent 24%),
    #100d17;
}

.validation-ring {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border: 15px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--green);
  border-right-color: var(--cyan);
  border-radius: 50%;
  animation: orbitSpin 6s linear infinite;
}

.validation-ring span {
  color: #fff;
  font-size: 26px;
  font-weight: 950;
  animation: orbitSpin 6s linear infinite reverse;
}

.validation-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  color: #171421;
  border-radius: 999px;
  background: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.validation-result h3 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 32px);
}

.validation-result p {
  margin: 0;
  color: #ded6e8;
  line-height: 1.58;
}

.node-map {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(16, 183, 223, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 183, 223, 0.14), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    #08060d;
  background-size: auto, 36px 36px, 36px 36px;
}

.node-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  border: 1px solid rgba(16, 183, 223, 0.34);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 183, 223, 0.22), rgba(139, 15, 134, 0.24)), #171421;
  box-shadow: 0 0 0 8px rgba(16, 183, 223, 0.05), 0 0 28px rgba(16, 183, 223, 0.18);
  transform: translate(-50%, -50%);
}

.node-point.active {
  border-color: rgba(40, 165, 111, 0.8);
  box-shadow: 0 0 0 10px rgba(40, 165, 111, 0.08), 0 0 34px rgba(40, 165, 111, 0.28);
}

.node-point::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 8px);
  color: #cfc7da;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.node-point svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
}

.reward-panel dl {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.reward-panel dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reward-panel dl div:last-child {
  border-bottom: 0;
}

.reward-panel dd {
  margin: 0;
  color: #fff;
  font-weight: 950;
}

.reward-meter {
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #08060d;
}

.reward-meter span {
  display: block;
  width: var(--p);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--violet));
  transition: width 360ms var(--ease);
}

.node-events {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-color: rgba(16, 183, 223, 0.72) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.node-event {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  animation: txEnter 320ms var(--ease) both;
}

.node-event strong,
.node-event span {
  display: block;
}

.node-event strong {
  color: #fff;
  font-size: 13px;
}

.node-event span {
  margin-top: 5px;
  color: #bdb3ca;
  font-size: 11px;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #08060d;
}

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

.footer-inner img {
  width: 230px;
  height: 62px;
  object-fit: contain;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner strong {
  color: #fff;
}

.footer-inner span {
  margin-top: 7px;
  color: #d9d3df;
  line-height: 1.5;
}

.footer-inner a {
  color: #fff;
  font-weight: 900;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes floatInRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cockpitFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes ctaSweep {
  0%,
  48% {
    transform: translateX(-48%);
  }
  72%,
  100% {
    transform: translateX(48%);
  }
}

@keyframes blockPulse {
  from {
    opacity: 0.64;
    transform: scaleX(0.88);
    transform-origin: left;
  }
  to {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
  }
}

@keyframes growWidth {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

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

@keyframes luxurySweep {
  0%,
  48% {
    transform: translateX(-35%);
  }
  72%,
  100% {
    transform: translateX(35%);
  }
}

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

@keyframes blockFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes scanBeam {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(820%);
  }
}

@keyframes txEnter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .brand {
    grid-column: 1;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }

  .header-scanner-cta {
    grid-column: 3;
  }

  .header-node-cta {
    grid-column: 4;
  }

  .header-demo-cta {
    grid-column: 5;
  }

  .header-cta {
    grid-column: 6;
  }

  .theme-toggle {
    grid-column: 7;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  .brand {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
  }

  .header-scanner-cta,
  .header-node-cta,
  .header-demo-cta,
  .header-cta,
  .theme-toggle {
    width: 100%;
    min-width: 0;
    grid-row: 2;
    padding-inline: 10px;
    white-space: normal;
    line-height: 1.12;
  }

  .header-scanner-cta {
    grid-column: 1;
  }

  .header-node-cta {
    grid-column: 2;
  }

  .header-demo-cta {
    grid-column: 3;
  }

  .header-cta {
    grid-column: 4;
  }

  .theme-toggle {
    grid-column: 5;
  }

  .nav-links {
    grid-row: 3;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .visual-section {
    grid-template-columns: 1fr;
  }

  .metric-band,
  .value-grid,
  .system-grid,
  .industry-grid,
  .timeline,
  .module-summary,
  .contract-flow,
  .calc-inputs,
  .scanner-status {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-board,
  .calculator {
    grid-template-columns: 1fr;
  }

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

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

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

  .module-rail {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 680px) {
  .site-header {
    display: grid;
    grid-template-columns: repeat(5, minmax(44px, 1fr));
    gap: 10px;
    min-height: auto;
    padding: 12px 16px;
  }

  .brand {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
  }

  .brand img {
    width: 132px;
    height: 42px;
  }

  .header-cta {
    display: inline-flex;
  }

  .header-scanner-cta span,
  .header-node-cta span,
  .header-demo-cta span,
  .header-cta span,
  .theme-toggle span {
    display: none;
  }

  .header-scanner-cta,
  .header-node-cta,
  .header-demo-cta,
  .header-cta,
  .theme-toggle {
    position: static;
    width: 100%;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    grid-row: 2;
  }

  .header-scanner-cta {
    grid-column: 1;
  }

  .header-node-cta {
    grid-column: 2;
  }

  .header-demo-cta {
    grid-column: 3;
  }

  .header-cta {
    grid-column: 4;
  }

  .theme-toggle {
    grid-column: 5;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    margin-top: 0;
    border-radius: 8px;
    overflow: visible;
  }

  .nav-links a {
    min-width: 0;
    padding: 11px 9px;
    text-align: center;
    white-space: normal;
  }

  .hero-grid {
    width: min(100% - 28px, 1180px);
    padding: 38px 0 62px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.06;
  }

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

  .hero-actions,
  .hero-proof-grid,
  .metric-band,
  .chain-ledger,
  .chain-flow,
  .value-grid,
  .system-grid,
  .industry-grid,
  .timeline,
  .module-summary,
  .contract-flow,
  .tech-gallery,
  .calc-inputs,
  .calc-breakdown,
  .sales-room,
  .footer-inner,
  .scanner-status,
  .tx-row,
  .node-status-grid,
  .validation-search,
  .validation-result {
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .metric-band {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }

  .metric-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section,
  .visual-section,
  .sales-room {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 64px 0;
  }

  .visual-section {
    padding: 48px 0 70px;
  }

  .architecture-stage {
    min-height: 480px;
  }

  .node-orbit {
    width: 300px;
    height: 300px;
  }

  .node-orbit span {
    width: 48px;
    height: 48px;
    margin: -24px;
    transform: rotate(calc(var(--i) * 72deg)) translateX(150px) rotate(calc(var(--i) * -72deg));
  }

  .central-node {
    width: 158px;
    height: 158px;
  }

  .sales-room {
    padding: 24px;
  }

  .footer-inner {
    justify-items: start;
  }

  .scanner-modal {
    padding: 10px;
  }

  .scanner-topbar {
    padding: 16px;
  }

  .scanner-grid {
    padding: 12px;
  }

  .chain-scene {
    min-height: 360px;
  }

  .demo-block {
    top: calc(var(--x) * 1%);
    left: calc(50% - 64px);
  }

  .demo-block::before,
  .demo-block::after {
    display: none;
  }

  .tx-pill,
  .tx-row em {
    justify-self: start;
  }

  .block-inspector div {
    grid-template-columns: 1fr;
  }

  .block-inspector dd {
    text-align: left;
  }

  .node-grid {
    padding: 12px;
  }

  .validation-ring {
    width: 116px;
    height: 116px;
  }

  .reward-panel dl div {
    grid-template-columns: 1fr;
  }
}

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

  #chain-constellation {
    display: none;
  }
}
