:root{
  --vx-paper:#f7f1e7;
  --vx-paper-2:#efe4d3;
  --vx-panel:#fffaf1;
  --vx-panel-2:#f4eadc;
  --vx-ink:#17120d;
  --vx-ink-2:#544b42;
  --vx-ink-3:#7a7168;
  --vx-line:#d8cdbd;
  --vx-line-2:#c9bba8;
  --vx-red:#f23855;
  --vx-teal:#43bbaa;
  --vx-green:#1d8d70;
  --vx-shadow:0 22px 70px rgba(54,38,18,.12);
}

*,
*::before,
*::after{
  box-sizing:border-box;
  min-width:0;
  letter-spacing:0!important;
}

html{
  scroll-padding-top:116px;
}

body{
  overflow-x:hidden;
}

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

a{
  text-underline-offset:4px;
}

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

.skip-link{
  position:absolute;
  left:18px;
  top:12px;
  z-index:999;
  transform:translateY(-150%);
  padding:10px 14px;
  border:1px solid var(--vx-line);
  border-radius:8px;
  background:var(--vx-panel);
  color:var(--vx-ink);
  font-family:var(--mono,ui-monospace,monospace);
  font-size:12px;
}

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

.wrap,
.vertex-docs #content,
.vertex-app main{
  width:min(1180px,calc(100vw - 48px))!important;
  max-width:1180px!important;
  margin-inline:auto!important;
}

.vertex-home,
.vertex-architecture,
.vertex-tokenomics,
.vertex-concept{
  background:
    radial-gradient(circle at 8% 8%,rgba(242,56,85,.1),transparent 30%),
    radial-gradient(circle at 92% 12%,rgba(67,187,170,.09),transparent 34%),
    linear-gradient(180deg,var(--vx-paper),var(--vx-paper-2));
  color:var(--vx-ink);
}

.vertex-home header,
.vertex-architecture header,
.vertex-tokenomics header,
.vertex-concept header{
  position:sticky!important;
  top:0!important;
  z-index:80!important;
  background:rgba(247,241,231,.93)!important;
  border-bottom:1px solid var(--vx-line)!important;
  box-shadow:0 12px 34px rgba(41,30,18,.08)!important;
  backdrop-filter:blur(16px);
}

.vertex-home .top,
.vertex-architecture .top,
.vertex-tokenomics .top,
.vertex-concept .top{
  height:88px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
}

.vertex-home .logo,
.vertex-architecture .brand,
.vertex-tokenomics .logo,
.vertex-concept .logo{
  display:flex!important;
  align-items:center!important;
  gap:13px!important;
  flex:0 0 auto!important;
  color:var(--vx-ink)!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

.vertex-home nav,
.vertex-architecture nav,
.vertex-tokenomics nav,
.vertex-concept nav{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:24px!important;
  flex:1 1 auto!important;
  min-width:0!important;
}

.vertex-home nav a,
.vertex-architecture nav a,
.vertex-tokenomics nav a,
.vertex-concept nav a{
  color:var(--vx-ink-2)!important;
  font-size:14px!important;
  font-weight:700!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}

.vertex-home nav a:hover,
.vertex-architecture nav a:hover,
.vertex-tokenomics nav a:hover,
.vertex-concept nav a:hover{
  color:var(--vx-ink)!important;
}

.vertex-home .enter,
.vertex-architecture .chip,
.vertex-tokenomics .enter,
.vertex-concept .enter,
.vertex-home .btn,
.vertex-architecture .btn,
.vertex-tokenomics .btn,
.vertex-concept .btn{
  min-height:48px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:10px!important;
  padding:0 22px!important;
  white-space:nowrap!important;
  font-weight:800!important;
}

.vertex-home .enter,
.vertex-architecture .chip.dark,
.vertex-tokenomics .enter,
.vertex-concept .enter,
.vertex-home .btn.primary,
.vertex-architecture .btn.primary,
.vertex-tokenomics .btn.primary,
.vertex-concept .btn.primary{
  background:var(--vx-ink)!important;
  border:1px solid var(--vx-ink)!important;
  color:var(--vx-panel)!important;
  box-shadow:none!important;
}

.vertex-home .btn.text,
.vertex-architecture .btn:not(.primary),
.vertex-tokenomics .btn.text,
.vertex-concept .btn.text{
  background:transparent!important;
  border:1px solid var(--vx-line-2)!important;
  color:var(--vx-ink)!important;
}

.vx-theme{
  min-height:48px!important;
  border:1px solid var(--vx-line-2)!important;
  border-radius:10px!important;
  padding:0 16px!important;
  background:rgba(255,250,241,.72)!important;
  color:var(--vx-ink-2)!important;
  font-family:var(--mono,ui-monospace,monospace)!important;
  font-size:12px!important;
  font-weight:700!important;
  text-transform:uppercase!important;
}

.vx-theme .vx-dot{
  width:7px!important;
  height:7px!important;
  border-radius:999px!important;
  background:currentColor!important;
}

.vertex-home .hero,
.vertex-architecture .hero,
.vertex-tokenomics .hero,
.vertex-concept .hero{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr)!important;
  align-items:center!important;
  gap:clamp(32px,5vw,72px)!important;
  min-height:0!important;
  padding-top:clamp(72px,9vw,126px)!important;
  padding-bottom:clamp(62px,8vw,112px)!important;
}

.vertex-architecture .hero{
  align-items:start!important;
  grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr)!important;
  padding-top:clamp(68px,7vw,96px)!important;
  padding-bottom:48px!important;
}

.vertex-home .hero::before,
.vertex-architecture .hero::before,
.vertex-tokenomics .hero::before,
.vertex-concept .hero::before,
.vertex-home .hero::after,
.vertex-architecture .hero::after,
.vertex-tokenomics .hero::after,
.vertex-concept .hero::after{
  pointer-events:none!important;
}

.vertex-home h1,
.vertex-architecture h1,
.vertex-tokenomics h1,
.vertex-concept h1{
  max-width:11ch!important;
  color:var(--vx-ink)!important;
  font-size:clamp(48px,7.2vw,98px)!important;
  line-height:.96!important;
  letter-spacing:0!important;
  overflow-wrap:normal!important;
}

.vertex-architecture h1{
  max-width:9.6ch!important;
  font-size:clamp(46px,6.2vw,86px)!important;
}

.vertex-home p,
.vertex-architecture p,
.vertex-tokenomics p,
.vertex-concept p{
  color:var(--vx-ink-2)!important;
}

.vertex-home .eyebrow,
.vertex-architecture .eyebrow,
.vertex-tokenomics .eyebrow,
.vertex-concept .eyebrow,
.vertex-home .sec-head,
.vertex-architecture .sec-head,
.vertex-tokenomics .sec-head,
.vertex-concept .sec-head{
  color:#8c631f!important;
  font-size:13px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
}

.vertex-home .hero-copy,
.vertex-architecture .hero-copy,
.vertex-tokenomics .hero-copy,
.vertex-concept .hero-copy{
  position:relative!important;
  z-index:2!important;
}

.vertex-home .hero-card,
.vertex-home .protocol-stage,
.vertex-architecture .summary,
.vertex-tokenomics .split-card,
.vertex-concept .split-card{
  position:relative!important;
  z-index:2!important;
  border:1px solid var(--vx-line)!important;
  border-radius:16px!important;
  background:rgba(255,250,241,.82)!important;
  color:var(--vx-ink)!important;
  box-shadow:var(--vx-shadow)!important;
  backdrop-filter:blur(16px);
}

.vertex-home .protocol-stage{
  width:min(100%,560px)!important;
  margin-left:auto!important;
  min-height:520px!important;
  padding:22px!important;
  overflow:hidden!important;
}

.vertex-home .stage-svg{
  min-height:260px!important;
}

.vertex-home .stage-note,
.vertex-home .stage-output{
  border-color:var(--vx-line)!important;
  background:rgba(23,18,13,.88)!important;
  color:var(--vx-panel)!important;
}

.vertex-home .feature-grid,
.vertex-home .markets,
.vertex-home .vault-grid,
.vertex-home .token-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
}

.vertex-home .card,
.vertex-home .market-card,
.vertex-home .token-card,
.vertex-home .vault-card,
.vertex-home .architecture-card,
.vertex-tokenomics .card,
.vertex-concept .card{
  border:1px solid var(--vx-line)!important;
  border-radius:16px!important;
  background:rgba(255,250,241,.78)!important;
  color:var(--vx-ink)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

.vertex-architecture .summary{
  width:100%!important;
  max-width:520px!important;
  min-height:0!important;
  justify-self:end!important;
  align-self:start!important;
  padding:32px!important;
  overflow:hidden!important;
}

.vertex-architecture .summary strong,
.vertex-architecture .summary h2,
.vertex-architecture .summary p{
  color:var(--vx-ink)!important;
}

.vertex-architecture .metrics,
.vertex-architecture .map,
.vertex-architecture .ledger{
  width:100%!important;
}

.vertex-architecture .metrics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}

.vertex-architecture .metric,
.vertex-architecture .node,
.vertex-architecture .ledger-row,
.vertex-architecture .flow-card{
  border:1px solid var(--vx-line)!important;
  border-radius:16px!important;
  background:rgba(255,250,241,.78)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

.vertex-architecture .metric{
  padding:18px!important;
  min-height:118px!important;
}

.vertex-architecture .map{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}

.vertex-architecture .node{
  min-height:176px!important;
  padding:26px!important;
}

.vertex-architecture .node h3,
.vertex-architecture .ledger-row h3,
.vertex-architecture .flow-card h3{
  font-size:clamp(28px,3.2vw,46px)!important;
  line-height:1!important;
  overflow-wrap:anywhere!important;
}

.vertex-architecture .node p,
.vertex-architecture .ledger-row p,
.vertex-architecture .flow-card p{
  font-size:18px!important;
  line-height:1.45!important;
}

.vertex-architecture .ledger{
  display:grid!important;
  gap:18px!important;
}

.vertex-architecture .ledger-row{
  display:grid!important;
  grid-template-columns:minmax(160px,.45fr) minmax(0,1fr) minmax(0,1.1fr)!important;
  align-items:start!important;
  gap:26px!important;
  padding:26px!important;
}

.vertex-architecture .flow-grid,
.vertex-concept .flow-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}

.vertex-docs{
  background:var(--vx-paper)!important;
  color:var(--vx-ink)!important;
}

.vertex-docs #topbar{
  position:sticky!important;
  top:0!important;
  z-index:60!important;
  background:rgba(247,241,231,.94)!important;
  border-bottom:1px solid var(--vx-line)!important;
  backdrop-filter:blur(16px);
}

.vertex-docs #content{
  padding-left:0!important;
  padding-right:0!important;
}

.vertex-docs .card,
.vertex-docs .callout,
.vertex-docs pre{
  border-radius:14px!important;
  overflow:auto!important;
}

.vertex-app{
  overflow-x:hidden;
}

.vertex-app header{
  position:sticky!important;
  top:0!important;
  z-index:70!important;
}

.vertex-app .bar{
  width:min(1180px,calc(100vw - 32px))!important;
  max-width:1180px!important;
  margin-inline:auto!important;
}

.vertex-app main{
  padding-left:0!important;
  padding-right:0!important;
}

.vertex-app .card,
.vertex-app .panel,
.vertex-app .modal,
.vertex-app .tokmenu{
  max-width:100%!important;
}

.vertex-app .app-3d,
.vertex-app .hero-3d{
  overflow:hidden!important;
}

@media (max-width:1120px){
  .wrap,
  .vertex-docs #content,
  .vertex-app main{
    width:min(100% - 36px,900px)!important;
  }

  .vertex-home .hero,
  .vertex-architecture .hero,
  .vertex-tokenomics .hero,
  .vertex-concept .hero{
    grid-template-columns:1fr!important;
  }

  .vertex-home .protocol-stage,
  .vertex-architecture .summary,
  .vertex-tokenomics .split-card,
  .vertex-concept .split-card{
    justify-self:stretch!important;
    margin-left:0!important;
    max-width:none!important;
  }

  .vertex-home .feature-grid,
  .vertex-home .markets,
  .vertex-home .vault-grid,
  .vertex-home .token-grid,
  .vertex-architecture .map,
  .vertex-architecture .metrics,
  .vertex-architecture .flow-grid,
  .vertex-concept .flow-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .vertex-architecture .ledger-row{
    grid-template-columns:1fr!important;
  }
}

@media (max-width:760px){
  html{
    scroll-padding-top:88px;
  }

  .wrap,
  .vertex-docs #content,
  .vertex-app main{
    width:calc(100% - 28px)!important;
  }

  .vertex-home .top,
  .vertex-architecture .top,
  .vertex-tokenomics .top,
  .vertex-concept .top{
    height:74px!important;
    gap:14px!important;
  }

  .vertex-home nav a:not(.enter),
  .vertex-architecture nav a:not(.chip),
  .vertex-tokenomics nav a:not(.enter),
  .vertex-concept nav a:not(.enter),
  .vertex-home nav .vx-theme,
  .vertex-architecture nav .vx-theme,
  .vertex-tokenomics nav .vx-theme,
  .vertex-concept nav .vx-theme{
    display:none!important;
  }

  .vertex-home .logo span,
  .vertex-architecture .brand span,
  .vertex-tokenomics .logo span,
  .vertex-concept .logo span{
    font-size:18px!important;
  }

  .vertex-home .hero,
  .vertex-architecture .hero,
  .vertex-tokenomics .hero,
  .vertex-concept .hero{
    padding-top:48px!important;
    padding-bottom:58px!important;
    gap:28px!important;
  }

  .vertex-home h1,
  .vertex-architecture h1,
  .vertex-tokenomics h1,
  .vertex-concept h1{
    max-width:12ch!important;
    font-size:clamp(42px,13vw,68px)!important;
  }

  .vertex-home .protocol-stage{
    min-height:420px!important;
    padding:16px!important;
  }

  .vertex-home .feature-grid,
  .vertex-home .markets,
  .vertex-home .vault-grid,
  .vertex-home .token-grid,
  .vertex-architecture .map,
  .vertex-architecture .metrics,
  .vertex-architecture .flow-grid,
  .vertex-concept .flow-grid{
    grid-template-columns:1fr!important;
  }

  .vertex-architecture .summary,
  .vertex-architecture .node,
  .vertex-architecture .ledger-row,
  .vertex-architecture .flow-card{
    padding:22px!important;
  }

  .vertex-architecture .node h3,
  .vertex-architecture .ledger-row h3,
  .vertex-architecture .flow-card h3{
    font-size:clamp(30px,10vw,44px)!important;
  }
}

@media (max-width:460px){
  .wrap,
  .vertex-docs #content,
  .vertex-app main{
    width:calc(100% - 24px)!important;
  }

  .vertex-home .enter,
  .vertex-architecture .chip,
  .vertex-tokenomics .enter,
  .vertex-concept .enter{
    min-height:44px!important;
    padding:0 14px!important;
    font-size:13px!important;
  }

  .vertex-home .cta-row,
  .vertex-architecture .actions,
  .vertex-tokenomics .actions,
  .vertex-concept .actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  .vertex-home .btn,
  .vertex-architecture .btn,
  .vertex-tokenomics .btn,
  .vertex-concept .btn{
    width:100%!important;
  }

  .vertex-home .protocol-stage{
    min-height:360px!important;
  }
}

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