:root {
  --ink: #0a0d0b;
  --ink-2: #111512;
  --ink-3: #1a201b;
  --paper: #f1f2eb;
  --paper-2: #e7e9df;
  --paper-3: #d9dccf;
  --white: #f8f9f4;
  --muted: #a4aa9e;
  --dark-muted: #5d655c;
  --accent: #d7ff52;
  --accent-dark: #29330e;
  --dark-line: rgba(248, 249, 244, 0.16);
  --light-line: rgba(10, 13, 11, 0.18);
  --header-height: 72px;
  --wrap: min(1440px, calc(100vw - 80px));
  --font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

h1,
h2,
h3,
p,
blockquote,
pre {
  margin-top: 0;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.section-light,
.section-dark {
  padding: 144px 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-label {
  margin-bottom: 28px;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-label::before {
  content: "[ ";
  color: var(--accent-dark);
}

.section-label::after {
  content: " ]";
  color: var(--accent-dark);
}

.section-dark .section-label {
  color: var(--accent);
}

.section-dark .section-label::before,
.section-dark .section-label::after {
  color: var(--accent);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid rgba(248, 249, 244, 0.12);
  background: rgba(10, 13, 11, 0.94);
  color: var(--white);
  transition: background-color 180ms ease;
}

.site-header.scrolled {
  background: var(--ink);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1600px, calc(100vw - 48px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand-logo {
  width: 182px;
  height: auto;
  border-radius: 3px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-link,
.nav-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  height: var(--header-height);
  padding: 0 15px;
  border: 0;
  background: transparent;
  color: #cfd3cb;
  cursor: pointer;
  font-size: 14px;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  color: var(--white);
}

.nav-trigger > span:last-child {
  color: var(--accent);
  font-size: 13px;
}

.nav-group {
  position: relative;
}

.nav-panel {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  width: 560px;
  padding: 16px;
  border: 1px solid var(--light-line);
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-panel.compact-panel {
  grid-template-columns: 1fr;
  width: 330px;
}

.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel,
.nav-group.open .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-panel a {
  display: flex;
  flex-direction: column;
  min-height: 76px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--light-line);
  transition: background-color 150ms ease;
}

.nav-panel a:hover {
  background: var(--paper-2);
}

.nav-panel a span {
  font-size: 15px;
  font-weight: 600;
}

.nav-panel a small {
  margin-top: 5px;
  color: var(--dark-muted);
  font-size: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 142px;
  height: 42px;
  padding: 0 15px;
  background: var(--accent);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 150ms ease;
}

.header-cta:hover {
  background: var(--white);
}

.menu-toggle {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 880px;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-grid {
  position: absolute;
  inset: var(--header-height) 0 64px;
  opacity: 0.13;
  background-image: linear-gradient(rgba(215, 255, 82, 0.28) 1px, transparent 1px), linear-gradient(90deg, rgba(215, 255, 82, 0.28) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent 0%, black 55%, black 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(530px, 1.08fr);
  align-items: center;
  gap: 40px;
  flex: 1;
  min-height: 744px;
  padding: 82px 0 62px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 32px;
  color: #c9cec5;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.line-symbol {
  width: 42px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 34px;
  color: var(--white);
  font-size: clamp(58px, 6.5vw, 104px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 42px;
  color: #b8beb4;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.65;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  min-width: 156px;
  justify-content: space-between;
  background: var(--accent);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--white);
}

.button-quiet,
.button-outline {
  border-color: var(--dark-line);
  background: transparent;
  color: var(--white);
}

.button-quiet:hover,
.button-outline:hover {
  border-color: var(--white);
  background: var(--ink-2);
}

.button-quiet small {
  margin-left: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.play-mark {
  color: var(--accent);
  font-size: 10px;
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 590px;
  border: 1px solid var(--dark-line);
  overflow: hidden;
}

#trust-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-color: var(--accent);
  pointer-events: none;
}

.hero-visual::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.hero-visual::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.visual-meta {
  position: absolute;
  z-index: 6;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.visual-meta b {
  color: var(--accent);
  font-weight: 500;
}

.visual-meta-top {
  top: 18px;
}

.visual-meta-bottom {
  bottom: 18px;
}

.chip-scene {
  position: absolute;
  z-index: 4;
  inset: 50% auto auto 50%;
  width: 360px;
  height: 360px;
  perspective: 900px;
  transform: translate(-50%, -48%);
}

.chip-shadow {
  position: absolute;
  inset: 85px 35px 45px 60px;
  border: 1px solid rgba(215, 255, 82, 0.12);
  background: rgba(0, 0, 0, 0.28);
  transform: rotate(23deg) skew(-10deg);
}

.se-chip {
  position: absolute;
  inset: 62px;
  border: 2px solid #77806f;
  background: #252b26;
  box-shadow: 10px 13px 0 #050706, 11px 14px 0 #4b5349;
  transform: rotateX(54deg) rotateZ(-35deg);
  transform-style: preserve-3d;
  transition: transform 240ms ease-out;
}

.chip-traces {
  position: absolute;
  inset: 18px;
  border: 1px solid #55604d;
}

.chip-traces::before,
.chip-traces::after {
  content: "";
  position: absolute;
  background: var(--accent);
  opacity: 0.7;
}

.chip-traces::before {
  width: 1px;
  top: -18px;
  bottom: -18px;
  left: 36%;
  box-shadow: 54px 0 0 rgba(215, 255, 82, 0.7);
}

.chip-traces::after {
  height: 1px;
  left: -18px;
  right: -18px;
  top: 63%;
  box-shadow: 0 -52px 0 rgba(215, 255, 82, 0.7);
}

.chip-core {
  position: absolute;
  z-index: 3;
  inset: 51px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  background: #111512;
  color: var(--white);
  text-align: center;
}

.chip-core span,
.chip-core small {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.chip-core strong {
  color: var(--accent);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.chip-pin {
  position: absolute;
  display: block;
  background: #8e9589;
}

.chip-pin.top,
.chip-pin.bottom {
  width: 9px;
  height: 21px;
}

.chip-pin.left,
.chip-pin.right {
  width: 21px;
  height: 9px;
}

.chip-pin.top { top: -23px; }
.chip-pin.bottom { bottom: -23px; }
.chip-pin.left { left: -23px; }
.chip-pin.right { right: -23px; }

.crypto-token {
  position: absolute;
  z-index: 5;
  padding: 7px 9px;
  border: 1px solid rgba(215, 255, 82, 0.45);
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.token-a { top: 22%; left: 8%; }
.token-b { top: 28%; right: 6%; }
.token-c { bottom: 22%; left: 12%; }

.standards {
  position: relative;
  z-index: 3;
  height: 64px;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  overflow: hidden;
}

.standards-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.standards-track span {
  padding: 0 34px;
  color: #cdd2c8;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.standards-track i {
  color: var(--accent);
  font-style: normal;
}

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

/* Problem */

.split-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 80px;
  padding-bottom: 92px;
}

.split-heading h2,
.solution-heading h2,
.trust-intro h2,
.final-cta h2 {
  margin-bottom: 38px;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.split-heading > div > p {
  max-width: 840px;
  color: #41483f;
  font-size: 19px;
  line-height: 1.85;
}

.split-heading .problem-thesis {
  max-width: 760px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.challenge {
  min-height: 190px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
  transition: background-color 160ms ease;
}

.challenge:hover,
.challenge.open {
  background: var(--paper-2);
}

.challenge-head {
  display: grid;
  grid-template-columns: 44px 1fr 30px;
  align-items: start;
  gap: 18px;
  width: 100%;
  min-height: 188px;
  padding: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.challenge-index {
  padding-top: 5px;
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.challenge-title {
  max-width: 430px;
  font-size: clamp(25px, 2.2vw, 35px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.challenge-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  transition: background-color 160ms ease, transform 160ms ease;
}

.challenge.open .challenge-toggle {
  background: var(--accent);
  transform: rotate(45deg);
}

.challenge-body {
  max-height: 0;
  padding: 0 32px;
  overflow: hidden;
  opacity: 0;
  transition: max-height 360ms ease, opacity 200ms ease, padding 360ms ease;
}

.challenge.open .challenge-body {
  max-height: 700px;
  padding: 0 32px 34px 94px;
  opacity: 1;
}

@media (hover: hover) {
  .challenge:hover .challenge-body {
    max-height: 700px;
    padding: 0 32px 34px 94px;
    opacity: 1;
  }

  .challenge:hover .challenge-toggle {
    background: var(--accent);
  }
}

.challenge-body > p {
  color: #333a32;
  line-height: 1.8;
}

.current-state {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--light-line);
  color: #555d53;
  font-size: 14px;
}

.current-state b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.problem-quote {
  max-width: 1120px;
  margin: 110px auto 0;
  padding: 0 0 0 48px;
  border-left: 4px solid var(--accent-dark);
  color: var(--ink);
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

/* Solution and architecture */

.solution {
  border-top: 1px solid var(--dark-line);
}

.solution-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.solution-heading h2 {
  margin: 0;
}

.architecture {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--dark-line);
  background: var(--ink-2);
}

.architecture-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 118px;
  padding: 26px 36px;
  background: var(--ink);
}

.architecture-layer > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.architecture-layer span {
  font-size: 20px;
  font-weight: 600;
}

.architecture-layer small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.architecture-layer .layer-flow {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
}

.platform-layer {
  border-bottom: 1px solid var(--dark-line);
}

.enterprise-layer {
  border-top: 1px solid var(--dark-line);
}

.trust-layer {
  margin: 42px;
  border: 1px solid rgba(215, 255, 82, 0.55);
}

.trust-layer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(215, 255, 82, 0.3);
}

.trust-layer-head span {
  color: var(--accent);
  font-size: 19px;
  font-weight: 600;
}

.trust-layer-head small {
  color: var(--muted);
  font-size: 12px;
}

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

.trust-modules > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 32px 14px;
  border-right: 1px solid var(--dark-line);
}

.trust-modules > div:last-child {
  border-right: 0;
}

.trust-modules b {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
}

.trust-modules span {
  color: var(--muted);
  font-size: 12px;
}

.hardware-root {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-top: 1px solid rgba(215, 255, 82, 0.3);
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
}

.hardware-root b,
.hardware-root strong {
  font-family: var(--font-mono);
  font-size: 11px;
}

.hardware-root span:not(.root-pulse) {
  font-size: 13px;
}

.root-pulse {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20%;
  width: 14%;
  background: rgba(255, 255, 255, 0.6);
  transform: skewX(-14deg);
}

.architecture.is-visible .root-pulse {
  animation: root-scan 3.6s ease-in-out infinite;
}

@keyframes root-scan {
  0%, 18% { left: -20%; }
  72%, 100% { left: 120%; }
}

.positioning-list {
  margin-top: 110px;
  border-top: 1px solid var(--dark-line);
}

.positioning {
  display: grid;
  grid-template-columns: 80px minmax(240px, 0.65fr) 1fr;
  gap: 36px;
  padding: 40px 0;
  border-bottom: 1px solid var(--dark-line);
}

.positioning > span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
}

.positioning h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.positioning p {
  max-width: 680px;
  margin: 0;
  color: #afb5ab;
  font-size: 17px;
  line-height: 1.75;
}

/* Trust model */

.trust-model {
  padding-bottom: 80px;
}

.trust-intro {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) 1fr;
  gap: 0 80px;
  margin-bottom: 112px;
}

.trust-intro .section-label {
  grid-row: 1 / 4;
}

.trust-intro h2 {
  margin-bottom: 38px;
}

.principle-intro {
  max-width: 880px;
  margin-bottom: 18px;
  color: #343a33;
  font-size: 22px;
  line-height: 1.55;
}

.principle-line {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.trust-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 70px;
}

.trust-panels {
  min-width: 0;
}

.trust-nav {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  border-top: 1px solid var(--ink);
}

.trust-nav a {
  display: grid;
  grid-template-columns: 34px 66px 1fr;
  align-items: center;
  gap: 10px;
  padding: 18px 10px 18px 0;
  border-bottom: 1px solid var(--light-line);
  color: #737b71;
  transition: color 150ms ease, padding-left 150ms ease;
}

.trust-nav a.active,
.trust-nav a:hover {
  padding-left: 8px;
  color: var(--ink);
}

.trust-nav a.active {
  background: var(--accent);
}

.trust-nav span {
  font-family: var(--font-mono);
  font-size: 10px;
}

.trust-nav b {
  font-family: var(--font-mono);
  font-size: 12px;
}

.trust-nav small {
  font-size: 12px;
}

.trust-panel {
  margin-bottom: 120px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.panel-header {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 28px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--ink);
}

.panel-header > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--ink);
  background: var(--accent);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
}

.panel-header h3 {
  margin-bottom: 10px;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.panel-header p {
  margin: 0;
  color: #4c544b;
  font-size: 18px;
}

.comparison-table {
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.comparison-table > div {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
}

.comparison-table > div > span {
  padding: 22px 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  line-height: 1.65;
}

.comparison-table > div > span:first-child {
  color: #50584e;
}

.comparison-table > div > span:last-child {
  font-weight: 500;
}

.comparison-table .table-head span {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.comparison-table > .table-head > span:first-child {
  color: var(--white);
}

.panel-principle {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) 1fr;
  gap: 40px;
  margin: 42px 0 0;
  padding: 32px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.panel-principle b {
  font-size: 21px;
  letter-spacing: -0.025em;
}

.panel-principle span {
  color: #3e463c;
  line-height: 1.75;
}

.code-block {
  min-width: 0;
  max-width: 100%;
  margin-top: 42px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #dbe0d7;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 16px 0 22px;
  border-bottom: 1px solid var(--dark-line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.copy-code {
  padding: 7px 10px;
  border: 1px solid var(--dark-line);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
}

.copy-code:hover {
  border-color: var(--accent);
  color: var(--accent);
}

pre {
  max-height: 560px;
  margin: 0;
  padding: 28px;
  overflow: auto;
  color: #dfe5db;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  tab-size: 2;
}

.proof-panel .panel-header > span {
  background: var(--ink);
  color: var(--accent);
}

.proof-commitment {
  margin: 42px 0 0;
  padding: 42px;
  background: var(--accent);
  color: var(--ink);
}

.proof-commitment span,
.proof-commitment strong {
  display: block;
}

.proof-commitment span {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.proof-commitment strong {
  max-width: 900px;
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

/* Closing and footer */

.final-cta {
  padding: 110px 0;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
}

.final-cta h2 {
  max-width: 870px;
  margin-bottom: 0;
}

.site-footer {
  padding: 72px 0 30px;
  background: var(--ink);
  color: var(--white);
}

.footer-brand .brand-logo {
  width: 220px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 50px;
  min-height: 150px;
}

.footer-top p {
  max-width: 360px;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 100px);
  gap: 12px 28px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--dark-line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* Demo dialog */

.demo-dialog {
  width: min(1040px, calc(100vw - 48px));
  max-width: none;
  padding: 0;
  border: 1px solid var(--dark-line);
  background: var(--ink);
  color: var(--white);
}

.demo-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
}

.demo-shell {
  position: relative;
  padding: 22px;
}

.modal-close {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--dark-line);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
  font-weight: 300;
}

.modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.demo-frame {
  border: 1px solid var(--dark-line);
}

.demo-film-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  background-color: var(--ink-2);
  background-image: linear-gradient(rgba(215, 255, 82, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(215, 255, 82, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}

.demo-film-placeholder > span,
.demo-film-placeholder > b {
  position: absolute;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.demo-film-placeholder > span { top: 20px; left: 20px; }
.demo-film-placeholder > b { right: 20px; bottom: 20px; }

.demo-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 18px;
}

.demo-progress {
  height: 3px;
  background: #282d29;
}

.demo-progress i {
  display: block;
  width: 34%;
  height: 100%;
  background: var(--accent);
}

.demo-caption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 38px 16px 22px;
}

.demo-caption h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.demo-caption > p {
  margin: 0;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 1180px) {
  :root {
    --wrap: min(100% - 48px, 1200px);
  }

  .nav-shell {
    width: calc(100vw - 32px);
  }

  .primary-nav {
    gap: 0;
  }

  .nav-link,
  .nav-trigger {
    padding-inline: 10px;
  }

  .hero-inner {
    grid-template-columns: 1fr 0.9fr;
  }

  .hero h1 {
    font-size: clamp(58px, 7.8vw, 84px);
  }

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

  .chip-scene {
    transform: translate(-50%, -48%) scale(0.86);
  }

  .trust-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 42px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 64px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    margin-left: 8px;
    padding: 0 9px;
    border: 1px solid var(--dark-line);
    background: transparent;
    cursor: pointer;
    order: 3;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--white);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: block;
    padding: 24px;
    overflow: auto;
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .primary-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link,
  .nav-trigger {
    justify-content: space-between;
    width: 100%;
    height: 58px;
    padding: 0;
    border-bottom: 1px solid var(--dark-line);
    font-size: 18px;
  }

  .nav-panel,
  .nav-panel.compact-panel {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    width: 100%;
    padding: 10px;
    border: 0;
    background: var(--ink-2);
    color: var(--white);
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-group:hover .nav-panel,
  .nav-group:focus-within .nav-panel {
    display: none;
  }

  .nav-group.open .nav-panel,
  .nav-group.open:hover .nav-panel,
  .nav-group.open:focus-within .nav-panel {
    display: grid;
  }

  .nav-panel a {
    min-height: 68px;
    border-color: var(--dark-line);
  }

  .nav-panel a:hover {
    background: var(--ink-3);
  }

  .nav-panel a small {
    color: var(--muted);
  }

  .nav-actions {
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 74px;
  }

  .hero-copy {
    max-width: 760px;
  }

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

  .split-heading,
  .solution-heading,
  .trust-intro {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trust-intro .section-label {
    grid-row: auto;
  }

  .split-heading .section-label,
  .solution-heading .section-label,
  .trust-intro .section-label {
    margin-bottom: 48px;
  }

  .trust-layout {
    grid-template-columns: 1fr;
  }

  .trust-nav {
    position: sticky;
    z-index: 8;
    top: var(--header-height);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--ink);
    background: var(--paper);
  }

  .trust-nav a {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px;
    border-right: 1px solid var(--light-line);
    border-bottom: 0;
  }

  .trust-nav a.active,
  .trust-nav a:hover {
    padding-left: 12px;
  }

  .trust-nav a:last-child {
    border-right: 0;
  }

  .trust-nav small {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --wrap: calc(100vw - 32px);
  }

  .section-light,
  .section-dark {
    padding: 92px 0;
  }

  .nav-shell {
    width: calc(100vw - 24px);
  }

  .brand-logo {
    width: 150px;
  }

  .footer-brand .brand-logo {
    width: 190px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 62px 0 42px;
  }

  .hero-kicker {
    margin-bottom: 24px;
    font-size: 9px;
  }

  .line-symbol {
    width: 26px;
  }

  .hero h1 {
    margin-bottom: 28px;
    font-size: clamp(45px, 12vw, 72px);
    letter-spacing: -0.07em;
  }

  .hero-lead {
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

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

  .chip-scene {
    transform: translate(-50%, -48%) scale(0.72);
  }

  .crypto-token {
    font-size: 7px;
  }

  .token-a { left: 4%; }
  .token-b { right: 3%; }
  .token-c { left: 6%; }

  .standards {
    height: 54px;
  }

  .standards-track span {
    padding-inline: 22px;
    font-size: 10px;
  }

  .split-heading,
  .solution-heading,
  .trust-intro {
    padding-bottom: 0;
    margin-bottom: 68px;
  }

  .split-heading h2,
  .solution-heading h2,
  .trust-intro h2,
  .final-cta h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .split-heading > div > p {
    font-size: 16px;
  }

  .split-heading .problem-thesis {
    font-size: 19px;
  }

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

  .challenge {
    min-height: 0;
  }

  .challenge-head {
    grid-template-columns: 32px 1fr 30px;
    gap: 12px;
    min-height: 142px;
    padding: 24px 20px;
  }

  .challenge-title {
    font-size: 26px;
  }

  .challenge.open .challenge-body {
    padding: 0 20px 28px 64px;
  }

  .problem-quote {
    margin-top: 72px;
    padding-left: 24px;
    font-size: 25px;
  }

  .architecture-layer {
    min-height: 100px;
    padding: 22px 20px;
  }

  .architecture-layer span {
    font-size: 17px;
  }

  .architecture-layer small {
    max-width: 230px;
  }

  .trust-layer {
    margin: 18px;
  }

  .trust-layer-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 18px;
  }

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

  .trust-modules > div:nth-child(2) {
    border-right: 0;
  }

  .trust-modules > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--dark-line);
  }

  .hardware-root {
    grid-template-columns: 1fr auto;
    padding: 18px;
  }

  .hardware-root span:not(.root-pulse) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .positioning-list {
    margin-top: 72px;
  }

  .positioning {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 32px 0;
  }

  .positioning p {
    grid-column: 2;
    font-size: 15px;
  }

  .trust-intro {
    display: block;
  }

  .principle-intro {
    font-size: 18px;
  }

  .trust-layout {
    gap: 50px;
  }

  .trust-nav a {
    padding: 10px 8px;
  }

  .trust-nav a.active,
  .trust-nav a:hover {
    padding-left: 8px;
  }

  .trust-nav b {
    font-size: 10px;
  }

  .trust-panel {
    margin-bottom: 84px;
  }

  .panel-header {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    margin-bottom: 34px;
    padding-bottom: 28px;
  }

  .panel-header > span {
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .panel-header h3 {
    font-size: 36px;
  }

  .panel-header p {
    font-size: 15px;
  }

  .comparison-table > div {
    grid-template-columns: 1fr;
  }

  .comparison-table > div > span {
    padding: 17px 18px;
  }

  .comparison-table > div:not(.table-head) > span:first-child {
    padding-bottom: 8px;
    border-bottom: 0;
    font-size: 13px;
  }

  .comparison-table > div:not(.table-head) > span:last-child {
    padding-top: 4px;
  }

  .comparison-table .table-head {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .panel-principle {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 0;
  }

  pre {
    padding: 20px;
    font-size: 11px;
  }

  .proof-commitment {
    padding: 28px 24px;
  }

  .final-cta-inner,
  .footer-top,
  .demo-caption {
    grid-template-columns: 1fr;
  }

  .final-cta-inner {
    align-items: start;
    gap: 38px;
  }

  .final-actions {
    width: 100%;
  }

  .final-actions .button {
    flex: 1;
  }

  .footer-top {
    gap: 28px;
    padding-bottom: 50px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .demo-dialog {
    width: calc(100vw - 20px);
  }

  .demo-shell {
    padding: 10px;
  }

  .demo-film-placeholder {
    min-height: 260px;
  }

  .demo-caption {
    gap: 24px;
    padding: 28px 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
